package com.wkedu.repair.student.service;

import com.wkedu.repair.RepairApplicationTests;
import com.wkedu.repair.dto.RepairStudentDto;
import com.wkedu.repair.service.RepairStudentService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author 港港
 * @version 1.0
 * @date 2021/9/6 3:44 下午
 */
public class RepairStudent extends RepairApplicationTests {

    @Autowired
    private RepairStudentService service;

    @Test
    public void test(){
        List<RepairStudentDto> repairStudentDtos = service.listForStudentId("20200331270420");
        for (RepairStudentDto r :
                repairStudentDtos) {
            System.out.println(r.getRepairInfo());
        }
    }
}
